//==========================================================================
// Copyright (c) 2000-2008,  Elastos, Inc.  All Rights Reserved.
//==========================================================================
#if _MSC_VER > 1000
#pragma once
#endif

#ifndef __TSC2302_H__
#define __TSC2302_H__

#ifdef  __cplusplus
extern "C" {
#endif

int _TSC_RegRead(unsigned long page, unsigned long addr, unsigned short* data, unsigned long dwNum);
int _TSC_RegWrite(unsigned long page, unsigned long addr, unsigned short* data, unsigned long dwNum);

int TSC_RegRead(unsigned long page, unsigned long addr, unsigned short* data, unsigned long dwNum);
int TSC_RegWrite(unsigned long page, unsigned long addr, unsigned short* data, unsigned long dwNum);

#ifdef  __cplusplus
}
#endif

#endif//__TSC2302_H__
